package com.yllt4cloud.shangmi.api.feign;

import com.yllt4cloud.common.core.constant.CommonConstants;
import com.yllt4cloud.common.core.constant.SecurityConstants;
import com.yllt4cloud.shangmi.api.entity.ShangTaiHuiZongXinXi;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;

/**
 * @description:
 * @author: yaoxj
 * @create: 2019-12-19 18:09
 **/
@FeignClient(contextId = "remoteHuaDanService", value = CommonConstants.SHANGMI_SERVICE)
public interface RemoteHuaDanService {

    @GetMapping("/huadan/shangtaihuizong")
    ShangTaiHuiZongXinXi shangTaiHuiZongXinxi(@RequestHeader(SecurityConstants.FROM) String from);

}
